{# Héritage du layout princaple appliqué aux pages de gestion des articles #}
{% extends "BlissParcBundle:Machine:layout.html.twig" %}

{% block title %}
     {{ entity }} - {{parent()}}
{% endblock %}

{% block file_ariane %}
    {{ parent() }}
<div class="breadcrumb_divider"></div><a class="current"><a href="{{ path('machine_show', { 'id': entity.id }) }}">{{ entity }}</a>
{% endblock %}

{% block body %}

        <section id="main" class="column">

            <article class="module width_3_quarter">
                <header><h3 class="tabs_involved">{{ entity }}</h3>
                </header>
                <div class="show-entity">
                    <div>
                        Id <span>{{ entity.id }}</span>
                    </div>
                    <div>
                        Nom <span>{{ entity }}</span>
                    </div>
                    <div>
                        Adresse IP <span>{{ entity.ip }}</span>
                    </div>
                </div>
                <div class="photo-product">
                    <h3>Composants</h3>
                    </div>
                    <p class="button-form">
                        <a class="btn btn-primary btn-list" href="{{ path('machine') }}"><i class="icon-white icon-list-ul"></i> Retour</a>
                        <a class="btn btn-primary btn-edit" href="{{ path('machine_edit', { 'id': entity.id }) }}"><i class="icon-white icon-pencil"></i> Modifier</a>
                        <a class="btn btn-primary btn-remove" onclick="return confirm('Etes vous sûre ?')" href="{{ path('machine_delete', { 'id': entity.id }) }}"><i class="icon-white icon-trash"></i> Supprimer</a>
                    </p>
                </article>
            </section>
{% endblock %}